package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Mallorder implements Serializable {

   /**主键*/
    private Integer id;
   /**用户主键*/
    private Integer userId;
   /***/
    private String loginName;
   /**用户地址*/
    private String userAddress;
   /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
   /**总消费*/
    private Float cost;    
   /**订单号*/
    private String serialNumber;
   /**订单状态*/
    private Integer state;
   /***/
    private String status;
   /**未定义1*/
    private Integer extension1;
   /**未定义2*/
    private String extension2;
   /**未定义3*/
    private String extension3;

    public Mallorder(){}
    
    public Mallorder(Integer id,Integer userId,String loginName,String userAddress,Date createTime,Float cost,String serialNumber,Integer state,String status,Integer extension1,String extension2,String extension3){
        this.id = id;
        this.userId = userId;
        this.loginName = loginName;
        this.userAddress = userAddress;
        this.createTime = createTime;
        this.cost = cost;
        this.serialNumber = serialNumber;
        this.state = state;
        this.status = status;
        this.extension1 = extension1;
        this.extension2 = extension2;
        this.extension3 = extension3;
    }

   /**获取主键属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取用户主键属性的值*/
    public Integer getUserId() {
        return this.userId;
    }
   /**设置用户主键属性的值*/
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
   /**获取属性的值*/
    public String getLoginName() {
        return this.loginName;
    }
   /**设置属性的值*/
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
   /**获取用户地址属性的值*/
    public String getUserAddress() {
        return this.userAddress;
    }
   /**设置用户地址属性的值*/
    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }
   /**获取创建时间属性的值*/
    public Date getCreateTime() {
        return this.createTime;
    }
   /**设置创建时间属性的值*/
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   /**获取总消费属性的值*/
    public Float getCost() {
        return this.cost;
    }
   /**设置总消费属性的值*/
    public void setCost(Float cost) {
        this.cost = cost;
    }
   /**获取订单号属性的值*/
    public String getSerialNumber() {
        return this.serialNumber;
    }
   /**设置订单号属性的值*/
    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }
   /**获取订单状态属性的值*/
    public Integer getState() {
        return this.state;
    }
   /**设置订单状态属性的值*/
    public void setState(Integer state) {
        this.state = state;
    }
   /**获取属性的值*/
    public String getStatus() {
        return this.status;
    }
   /**设置属性的值*/
    public void setStatus(String status) {
        this.status = status;
    }
   /**获取未定义1属性的值*/
    public Integer getExtension1() {
        return this.extension1;
    }
   /**设置未定义1属性的值*/
    public void setExtension1(Integer extension1) {
        this.extension1 = extension1;
    }
   /**获取未定义2属性的值*/
    public String getExtension2() {
        return this.extension2;
    }
   /**设置未定义2属性的值*/
    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }
   /**获取未定义3属性的值*/
    public String getExtension3() {
        return this.extension3;
    }
   /**设置未定义3属性的值*/
    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }
}
